package com.gydz.gydzbaseframeworkboot.SystemControl.dao;

import com.gydz.gydzbaseframeworkboot.SystemControl.domain.ShortcutMenu;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * 快捷菜单mapper
 * @author caiwf
 */
@Mapper
public interface ShortcutMenuMapper {

    List<ShortcutMenu> list(ShortcutMenu shortcutMenu);

    ShortcutMenu findByUserId(@Param("userId") Long userId);

    int insert(ShortcutMenu shortcutMenu);

    int update(ShortcutMenu shortcutMenu);

    int deleteById(@Param("id") Long id);
}
